package com.wzdigit.wms.basic.client.response.basic;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.wzdigit.wms.basic.client.BasicResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 仓库属性输出
 * @author yangdongjie
 * @WarehouseAttrResponse.java
 * @2020年12月31日下午5:18:20
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class WarehouseAttrResponse extends BasicResponse {

	private static final long serialVersionUID = 7201922846936767074L;

	/**
	 * 仓库属性ID
	 */
	@ApiModelProperty(value = "仓库属性ID", required = true)
	private Integer whsAttrId;

	/**
	 * 仓库ID
	 */
	@ApiModelProperty(value = "仓库ID", required = true)
	private Integer whsId;

	/**
	 * 属性
	 */
	@ApiModelProperty(value = "属性", required = true)
	private String attr;

	/**
	 * 值
	 */
	@ApiModelProperty(value = "值", required = true)
	private String value;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注", required = false)
	private String comments;

	/**
	 * 是否有效
	 */
	@ApiModelProperty(value = "是否有效", required = true)
	private Integer isEnabled;

}